package jmir.adrian.empresa;

public class EmpleatSouBase extends Empleat{
	
	private double sou;
	
	
	public EmpleatSouBase(String nom, String cognom, String DNI, double sou) {
		super(nom, cognom, DNI);
		this.sou = sou;
	}
	public double souTotal = sou;
	
	public double getSou() {
		return sou;
	}

	public void setSou(double sou) {
		this.sou = sou;
	}
	
	@Override
	public double calculaSouTotal(){
		return this.sou;
	}

	@Override
	public String toString() {
		return super.toString()+"Sou base = "+sou+"\nSou total = "+sou;
	}


	
}
	
	
	

